if(!window.utils){
    window.utils = {};
}

utils.initSwiper = (container,confObj)=>{
    if(!window.Swiper){
        return false;
    }
    let $container = $(container),
        conf = {
            loop: true,
            autoplay: true,
        };
    Object.assign(conf,vars.swiperDefaultConf,confObj);
    if(!$container.length){
        return false;
    }
    return new Swiper(container,conf);
};
